[INFO] cloning repository https://github.com/kdhttps/rust_wasm_cedar
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kdhttps/rust_wasm_cedar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdhttps%2Frust_wasm_cedar", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdhttps%2Frust_wasm_cedar'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bdfd5e294b717b7182b7a6a4dae52fcff1a7a532
[INFO] fixing kdhttps/rust_wasm_cedar against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkdhttps%2Frust_wasm_cedar" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kdhttps/rust_wasm_cedar
[INFO] finished tweaking git repo https://github.com/kdhttps/rust_wasm_cedar
[INFO] tweaked toml for git repo https://github.com/kdhttps/rust_wasm_cedar written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kdhttps/rust_wasm_cedar on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kdhttps/rust_wasm_cedar already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65
[INFO] running `Command { std: "docker" "start" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   either v1.12.0 (as host dependency) removed features: default
[INFO] [stderr]   lalrpop-util v0.20.2 (as host dependency) removed features: default
[INFO] [stderr]   regex v1.10.4 (as host dependency) removed features: default, perf, perf-backtrack, perf-cache, perf-dfa, perf-inline, perf-literal, perf-onepass
[INFO] [stderr]   regex-automata v0.4.6 (as host dependency) removed features: dfa-onepass, nfa-backtrack
[INFO] [stderr]   regex-syntax v0.8.3 (as host dependency) removed features: default
[INFO] [stderr]   tokio v1.38.0 removed features: windows-sys
[INFO] [stderr]   unicode-xid v0.2.4 (as host dependency) removed features: default
[INFO] [stderr]   web-sys v0.3.69 removed features: AbortController, AbortSignal, Blob, BlobPropertyBag, Event, File, FormData, MessageEvent, ReadableStream, RequestCredentials, RequestMode, ServiceWorkerGlobalScope, Worker, WorkerGlobalScope
[INFO] [stderr] 
[INFO] [stderr]    Compiling proc-macro2 v1.0.85
[INFO] [stderr]    Compiling memchr v2.7.2
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling cc v1.0.98
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling bumpalo v3.16.0
[INFO] [stderr]    Compiling pico-args v0.5.0
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling serde_json v1.0.117
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling wasm-bindgen v0.2.92
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]     Checking unicode-width v0.1.12
[INFO] [stderr]     Checking unicode-xid v0.2.4
[INFO] [stderr]     Checking itertools v0.12.1
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking nonempty v0.10.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]     Checking rustc_lexer v0.1.0
[INFO] [stderr]     Checking unicode-script v0.5.6
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking unicode-security v0.1.1
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling psm v0.1.21
[INFO] [stderr]    Compiling stacker v0.1.15
[INFO] [stderr]    Compiling syn v2.0.66
[INFO] [stderr]     Checking regex-automata v0.4.6
[INFO] [stderr]     Checking lalrpop-util v0.20.2
[INFO] [stderr]     Checking regex v1.10.4
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.92
[INFO] [stderr]    Compiling darling_core v0.20.9
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling thiserror-impl v1.0.61
[INFO] [stderr]    Compiling miette-derive v7.2.0
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking ref-cast v1.0.23
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.92
[INFO] [stderr]     Checking thiserror v1.0.61
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.92
[INFO] [stderr]    Compiling darling_macro v0.20.9
[INFO] [stderr]     Checking js-sys v0.3.69
[INFO] [stderr]     Checking console_error_panic_hook v0.1.7
[INFO] [stderr]     Checking hyper v0.14.29
[INFO] [stderr]    Compiling darling v0.20.9
[INFO] [stderr]    Compiling serde_with_macros v3.8.1
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking miette v7.2.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking wasm-bindgen-futures v0.4.42
[INFO] [stderr]     Checking web-sys v0.3.69
[INFO] [stderr]     Checking serde_with v3.8.1
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling cedar-policy-core v3.2.1
[INFO] [stderr]    Compiling cedar-policy-validator v3.2.1
[INFO] [stderr]     Checking cedar-policy v3.2.1
[INFO] [stderr]     Checking rust_wasm_cedar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s
[INFO] [stderr] crater-edition-check: rust_wasm_cedar v0.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling either v1.12.0
[INFO] [stderr]    Compiling unicode-xid v0.2.4
[INFO] [stderr]     Checking tokio v1.38.0
[INFO] [stderr]     Checking web-sys v0.3.69
[INFO] [stderr]    Compiling itertools v0.11.0
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling lalrpop-util v0.20.2
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling lalrpop v0.20.2
[INFO] [stderr]     Checking tokio-util v0.7.11
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking hyper v0.14.29
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]    Compiling cedar-policy-core v3.2.1
[INFO] [stderr]    Compiling cedar-policy-validator v3.2.1
[INFO] [stderr]     Checking cedar-policy v3.2.1
[INFO] [stderr]     Checking rust_wasm_cedar v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `web_sys::RequestMode`
[INFO] [stdout]  --> src/lib.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web_sys::{Request, RequestInit, RequestMode, Response};
[INFO] [stdout]   |                                     ^^^^^^^^^^^ no `RequestMode` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestInit`, `Request`, and `Response`
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web_sys::{Request, RequestInit, RequestMode, Response};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_wasm_cedar` (lib) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0432]: unresolved import `web_sys::RequestMode`
[INFO] [stdout]  --> src/lib.rs:4:37
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web_sys::{Request, RequestInit, RequestMode, Response};
[INFO] [stdout]   |                                     ^^^^^^^^^^^ no `RequestMode` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Deserialize`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use serde::Deserialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/lib.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen_futures::JsFuture`
[INFO] [stdout]  --> src/lib.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use wasm_bindgen_futures::JsFuture;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `RequestInit`, `Request`, and `Response`
[INFO] [stdout]  --> src/lib.rs:4:15
[INFO] [stdout]   |
[INFO] [stdout] 4 | use web_sys::{Request, RequestInit, RequestMode, Response};
[INFO] [stdout]   |               ^^^^^^^  ^^^^^^^^^^^               ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust_wasm_cedar` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65", kill_on_drop: false }`
[INFO] [stdout] 1a1b5ff788c030db69f2bb5d66b5b578cb15d274a79089ca33ce88defba68b65
